<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.14"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>usb: xusb.h File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="HTML_custom.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="xlogo_bg.gif"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">usb
   </div>
   <div id="projectbrief">Xilinx SDK Drivers API Documentation</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.14 -->
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',false,false,'search.php','Search');
});
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('xusb_8h.html','');});
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#nested-classes">Data Structures</a> &#124;
<a href="#typedef-members">Typedefs</a> &#124;
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">xusb.h File Reference</div>  </div>
</div><!--header-->
<div class="contents">
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
Data Structures</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_usb___ep_config.html">XUsb_EpConfig</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">The <a class="el" href="struct_x_usb___ep_config.html" title="The XUsb_EpConfig structure is used to configure endpoints. ">XUsb_EpConfig</a> structure is used to configure endpoints.  <a href="struct_x_usb___ep_config.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_usb___device_config.html">XUsb_DeviceConfig</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">The <a class="el" href="struct_x_usb___device_config.html" title="The XUsb_DeviceConfig structure contains the configuration information to configure the USB controlle...">XUsb_DeviceConfig</a> structure contains the configuration information to configure the USB controller for DEVICE mode.  <a href="struct_x_usb___device_config.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_usb___config.html">XUsb_Config</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">The <a class="el" href="struct_x_usb___config.html" title="The XUsb_Config structure contains configuration information for the USB controller. ">XUsb_Config</a> structure contains configuration information for the USB controller.  <a href="struct_x_usb___config.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_usb.html">XUsb</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">The <a class="el" href="struct_x_usb.html" title="The XUsb driver instance data. ">XUsb</a> driver instance data.  <a href="struct_x_usb.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
Macros</h2></td></tr>
<tr><td colspan="2"><div class="groupHeader">Endpoint Direction</div></td></tr>
<tr><td colspan="2"><div class="groupText"><p>Definitions to be used with Endpoint related function that require a 'Direction' parameter.</p>
<p>NOTE: The direction is always defined from the perspective of the HOST! This means that an IN endpoint on the device is used for sending data while the OUT endpoint on the device is used for receiving data. </p>
</div></td></tr>
<tr class="memitem:gac41572da2aded6fe09ee6b423ddbd50a"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__usb__v5__0.html#gac41572da2aded6fe09ee6b423ddbd50a">XUSB_EP_DIRECTION_IN</a>&#160;&#160;&#160;1</td></tr>
<tr class="memdesc:gac41572da2aded6fe09ee6b423ddbd50a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Endpoint direction IN.  <a href="group__usb__v5__0.html#gac41572da2aded6fe09ee6b423ddbd50a">More...</a><br /></td></tr>
<tr class="separator:gac41572da2aded6fe09ee6b423ddbd50a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaaeed667f160bf00cc1e548a254fc45a3"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__usb__v5__0.html#gaaeed667f160bf00cc1e548a254fc45a3">XUSB_EP_DIRECTION_OUT</a>&#160;&#160;&#160;0</td></tr>
<tr class="memdesc:gaaeed667f160bf00cc1e548a254fc45a3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Endpoint direction OUT.  <a href="group__usb__v5__0.html#gaaeed667f160bf00cc1e548a254fc45a3">More...</a><br /></td></tr>
<tr class="separator:gaaeed667f160bf00cc1e548a254fc45a3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr><td colspan="2"><div class="groupHeader">Speed</div></td></tr>
<tr><td colspan="2"><div class="groupText"><p>Definitions to be used with speed. </p>
</div></td></tr>
<tr class="memitem:gaf18783c0d53b254b23bee3714df0c7b4"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__usb__v5__0.html#gaf18783c0d53b254b23bee3714df0c7b4">XUSB_EP_HIGH_SPEED</a>&#160;&#160;&#160;1</td></tr>
<tr class="memdesc:gaf18783c0d53b254b23bee3714df0c7b4"><td class="mdescLeft">&#160;</td><td class="mdescRight">High Speed.  <a href="group__usb__v5__0.html#gaf18783c0d53b254b23bee3714df0c7b4">More...</a><br /></td></tr>
<tr class="separator:gaf18783c0d53b254b23bee3714df0c7b4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga770274afcbbb1224ab5eec3a84a19acf"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__usb__v5__0.html#ga770274afcbbb1224ab5eec3a84a19acf">XUSB_EP_FULL_SPEED</a>&#160;&#160;&#160;0</td></tr>
<tr class="memdesc:ga770274afcbbb1224ab5eec3a84a19acf"><td class="mdescLeft">&#160;</td><td class="mdescRight">Full Speed.  <a href="group__usb__v5__0.html#ga770274afcbbb1224ab5eec3a84a19acf">More...</a><br /></td></tr>
<tr class="separator:ga770274afcbbb1224ab5eec3a84a19acf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr><td colspan="2"><div class="groupHeader">USB device specific global configuration constants.</div></td></tr>
<tr class="memitem:gac10c01aa71b29e898218eb4ffb61bea5"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__usb__v5__0.html#gac10c01aa71b29e898218eb4ffb61bea5">XUSB_MAX_ENDPOINTS</a>&#160;&#160;&#160;8</td></tr>
<tr class="memdesc:gac10c01aa71b29e898218eb4ffb61bea5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Maximum End Points.  <a href="group__usb__v5__0.html#gac10c01aa71b29e898218eb4ffb61bea5">More...</a><br /></td></tr>
<tr class="separator:gac10c01aa71b29e898218eb4ffb61bea5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaaa89db45cc42f7d9fb543921c6b023cf"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__usb__v5__0.html#gaaa89db45cc42f7d9fb543921c6b023cf">XUSB_EP_NUMBER_ZERO</a>&#160;&#160;&#160;0</td></tr>
<tr class="memdesc:gaaa89db45cc42f7d9fb543921c6b023cf"><td class="mdescLeft">&#160;</td><td class="mdescRight">End point Zero.  <a href="group__usb__v5__0.html#gaaa89db45cc42f7d9fb543921c6b023cf">More...</a><br /></td></tr>
<tr class="separator:gaaa89db45cc42f7d9fb543921c6b023cf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga0ed00313b551842b1ba4bd28f2e446dd"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__usb__v5__0.html#ga0ed00313b551842b1ba4bd28f2e446dd">XUSB_DEVICEADDR_MAX</a>&#160;&#160;&#160;127</td></tr>
<tr class="memdesc:ga0ed00313b551842b1ba4bd28f2e446dd"><td class="mdescLeft">&#160;</td><td class="mdescRight">Max device address.  <a href="group__usb__v5__0.html#ga0ed00313b551842b1ba4bd28f2e446dd">More...</a><br /></td></tr>
<tr class="separator:ga0ed00313b551842b1ba4bd28f2e446dd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr><td colspan="2"><div class="groupHeader">USB device disconnect state</div></td></tr>
<tr class="memitem:gaa04141505aefe8349756ab664507892c"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__usb__v5__0.html#gaa04141505aefe8349756ab664507892c">XUSB_DISCONNECTED</a>&#160;&#160;&#160;0x1</td></tr>
<tr class="memdesc:gaa04141505aefe8349756ab664507892c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Disconnected state.  <a href="group__usb__v5__0.html#gaa04141505aefe8349756ab664507892c">More...</a><br /></td></tr>
<tr class="separator:gaa04141505aefe8349756ab664507892c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gac5aabd610647e476facc6e8e9507f22c"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__usb__v5__0.html#gac5aabd610647e476facc6e8e9507f22c">XUSB_RESET</a>&#160;&#160;&#160;0x0</td></tr>
<tr class="memdesc:gac5aabd610647e476facc6e8e9507f22c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Reset State.  <a href="group__usb__v5__0.html#gac5aabd610647e476facc6e8e9507f22c">More...</a><br /></td></tr>
<tr class="separator:gac5aabd610647e476facc6e8e9507f22c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr><td colspan="2"><div class="groupHeader">Test Modes (Set Feature)</div></td></tr>
<tr class="memitem:gab9387baa67fbacb67dc4bb8fb5099946"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__usb__v5__0.html#gab9387baa67fbacb67dc4bb8fb5099946">TEST_J</a>&#160;&#160;&#160;1</td></tr>
<tr class="memdesc:gab9387baa67fbacb67dc4bb8fb5099946"><td class="mdescLeft">&#160;</td><td class="mdescRight">Chirp J Test.  <a href="group__usb__v5__0.html#gab9387baa67fbacb67dc4bb8fb5099946">More...</a><br /></td></tr>
<tr class="separator:gab9387baa67fbacb67dc4bb8fb5099946"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaaab96404e28a24eeb6b35728f5252e84"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__usb__v5__0.html#gaaab96404e28a24eeb6b35728f5252e84">TEST_K</a>&#160;&#160;&#160;2</td></tr>
<tr class="memdesc:gaaab96404e28a24eeb6b35728f5252e84"><td class="mdescLeft">&#160;</td><td class="mdescRight">Chirp K Test.  <a href="group__usb__v5__0.html#gaaab96404e28a24eeb6b35728f5252e84">More...</a><br /></td></tr>
<tr class="separator:gaaab96404e28a24eeb6b35728f5252e84"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga2e9ef4860669530c69535fe849aa2731"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__usb__v5__0.html#ga2e9ef4860669530c69535fe849aa2731">TEST_SE0_NAK</a>&#160;&#160;&#160;3</td></tr>
<tr class="memdesc:ga2e9ef4860669530c69535fe849aa2731"><td class="mdescLeft">&#160;</td><td class="mdescRight">Chirp SE0 Test.  <a href="group__usb__v5__0.html#ga2e9ef4860669530c69535fe849aa2731">More...</a><br /></td></tr>
<tr class="separator:ga2e9ef4860669530c69535fe849aa2731"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga793a5e7847d812a5e5de810db648b35a"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__usb__v5__0.html#ga793a5e7847d812a5e5de810db648b35a">TEST_PKT</a>&#160;&#160;&#160;4</td></tr>
<tr class="memdesc:ga793a5e7847d812a5e5de810db648b35a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Packet Test.  <a href="group__usb__v5__0.html#ga793a5e7847d812a5e5de810db648b35a">More...</a><br /></td></tr>
<tr class="separator:ga793a5e7847d812a5e5de810db648b35a"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="typedef-members"></a>
Typedefs</h2></td></tr>
<tr class="memitem:ga5ce5cb0de7ea4056c829fc15736a6684"><td class="memItemLeft" align="right" valign="top">typedef void(*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__usb__v5__0.html#ga5ce5cb0de7ea4056c829fc15736a6684">XUsb_EpHandlerFunc</a>) (void *CallBackRef, u8 EpNum, u32 EventType)</td></tr>
<tr class="memdesc:ga5ce5cb0de7ea4056c829fc15736a6684"><td class="mdescLeft">&#160;</td><td class="mdescRight">This data type defines the callback function to be used for Endpoint handlers.  <a href="group__usb__v5__0.html#ga5ce5cb0de7ea4056c829fc15736a6684">More...</a><br /></td></tr>
<tr class="separator:ga5ce5cb0de7ea4056c829fc15736a6684"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga64403da3a365ae35df1c860942c17358"><td class="memItemLeft" align="right" valign="top">typedef void(*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__usb__v5__0.html#ga64403da3a365ae35df1c860942c17358">XUsb_IntrHandlerFunc</a>) (void *CallBackRef, u32 InterruptType)</td></tr>
<tr class="memdesc:ga64403da3a365ae35df1c860942c17358"><td class="mdescLeft">&#160;</td><td class="mdescRight">This data type defines the callback function to be used for the general interrupt handler.  <a href="group__usb__v5__0.html#ga64403da3a365ae35df1c860942c17358">More...</a><br /></td></tr>
<tr class="separator:ga64403da3a365ae35df1c860942c17358"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:gaeab13bf4d5ed84b5b9e0c1c651f50aaa"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__usb__v5__0.html#gaeab13bf4d5ed84b5b9e0c1c651f50aaa">XUsb_CfgInitialize</a> (<a class="el" href="struct_x_usb.html">XUsb</a> *InstancePtr, <a class="el" href="struct_x_usb___config.html">XUsb_Config</a> *ConfigPtr, UINTPTR EffectiveAddr)</td></tr>
<tr class="memdesc:gaeab13bf4d5ed84b5b9e0c1c651f50aaa"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function initializes a <a class="el" href="struct_x_usb.html" title="The XUsb driver instance data. ">XUsb</a> instance/driver.  <a href="group__usb__v5__0.html#gaeab13bf4d5ed84b5b9e0c1c651f50aaa">More...</a><br /></td></tr>
<tr class="separator:gaeab13bf4d5ed84b5b9e0c1c651f50aaa"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga9c50c0ee6d36d4b87a40018c2ad0fd25"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__usb__v5__0.html#ga9c50c0ee6d36d4b87a40018c2ad0fd25">XUsb_ConfigureDevice</a> (<a class="el" href="struct_x_usb.html">XUsb</a> *InstancePtr, <a class="el" href="struct_x_usb___device_config.html">XUsb_DeviceConfig</a> *CfgPtr)</td></tr>
<tr class="memdesc:ga9c50c0ee6d36d4b87a40018c2ad0fd25"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function initializes USB End points.  <a href="group__usb__v5__0.html#ga9c50c0ee6d36d4b87a40018c2ad0fd25">More...</a><br /></td></tr>
<tr class="separator:ga9c50c0ee6d36d4b87a40018c2ad0fd25"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga4708ca8b9ca477b58d7da7db3f1be308"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__usb__v5__0.html#ga4708ca8b9ca477b58d7da7db3f1be308">XUsb_Start</a> (<a class="el" href="struct_x_usb.html">XUsb</a> *InstancePtr)</td></tr>
<tr class="memdesc:ga4708ca8b9ca477b58d7da7db3f1be308"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function starts the USB Device.  <a href="group__usb__v5__0.html#ga4708ca8b9ca477b58d7da7db3f1be308">More...</a><br /></td></tr>
<tr class="separator:ga4708ca8b9ca477b58d7da7db3f1be308"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga53f7e5c356dbe880560a6eb5942a74d6"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__usb__v5__0.html#ga53f7e5c356dbe880560a6eb5942a74d6">XUsb_Stop</a> (<a class="el" href="struct_x_usb.html">XUsb</a> *InstancePtr)</td></tr>
<tr class="memdesc:ga53f7e5c356dbe880560a6eb5942a74d6"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function stops the USB device.  <a href="group__usb__v5__0.html#ga53f7e5c356dbe880560a6eb5942a74d6">More...</a><br /></td></tr>
<tr class="separator:ga53f7e5c356dbe880560a6eb5942a74d6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga2bfe41baf4bcdaae0da439ec758de24e"><td class="memItemLeft" align="right" valign="top">u32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__usb__v5__0.html#ga2bfe41baf4bcdaae0da439ec758de24e">XUsb_GetFrameNum</a> (const <a class="el" href="struct_x_usb.html">XUsb</a> *InstancePtr)</td></tr>
<tr class="memdesc:ga2bfe41baf4bcdaae0da439ec758de24e"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function returns the current frame number.  <a href="group__usb__v5__0.html#ga2bfe41baf4bcdaae0da439ec758de24e">More...</a><br /></td></tr>
<tr class="separator:ga2bfe41baf4bcdaae0da439ec758de24e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaa2f7958d25023d2ed18cfaabfb2baa0f"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__usb__v5__0.html#gaa2f7958d25023d2ed18cfaabfb2baa0f">XUsb_SetDeviceAddress</a> (<a class="el" href="struct_x_usb.html">XUsb</a> *InstancePtr, u8 Address)</td></tr>
<tr class="memdesc:gaa2f7958d25023d2ed18cfaabfb2baa0f"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function sets the USB device address.  <a href="group__usb__v5__0.html#gaa2f7958d25023d2ed18cfaabfb2baa0f">More...</a><br /></td></tr>
<tr class="separator:gaa2f7958d25023d2ed18cfaabfb2baa0f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga4d5a367719f199ad49b9020f0fdd22ab"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__usb__v5__0.html#ga4d5a367719f199ad49b9020f0fdd22ab">XUsb_SetTestMode</a> (<a class="el" href="struct_x_usb.html">XUsb</a> *InstancePtr, u8 TestMode, u8 *BufPtr)</td></tr>
<tr class="memdesc:ga4d5a367719f199ad49b9020f0fdd22ab"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function sets the USB device into a given test mode.  <a href="group__usb__v5__0.html#ga4d5a367719f199ad49b9020f0fdd22ab">More...</a><br /></td></tr>
<tr class="separator:ga4d5a367719f199ad49b9020f0fdd22ab"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga1702a7ff1e0627217bdf4d4429a76f1c"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__usb__v5__0.html#ga1702a7ff1e0627217bdf4d4429a76f1c">XUsb_DmaReset</a> (<a class="el" href="struct_x_usb.html">XUsb</a> *InstancePtr)</td></tr>
<tr class="memdesc:ga1702a7ff1e0627217bdf4d4429a76f1c"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function resets the DMA module of the USB device.  <a href="group__usb__v5__0.html#ga1702a7ff1e0627217bdf4d4429a76f1c">More...</a><br /></td></tr>
<tr class="separator:ga1702a7ff1e0627217bdf4d4429a76f1c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga7255a426eb2c5a1c475fedaf265b7db2"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__usb__v5__0.html#ga7255a426eb2c5a1c475fedaf265b7db2">XUsb_DmaTransfer</a> (<a class="el" href="struct_x_usb.html">XUsb</a> *InstancePtr, UINTPTR *SrcAddr, UINTPTR *DstAddr, u16 Length)</td></tr>
<tr class="memdesc:ga7255a426eb2c5a1c475fedaf265b7db2"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function sets the DMA registers with the given values to initiate a DMA data transfer.  <a href="group__usb__v5__0.html#ga7255a426eb2c5a1c475fedaf265b7db2">More...</a><br /></td></tr>
<tr class="separator:ga7255a426eb2c5a1c475fedaf265b7db2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaf1806727cc17345c2b9a900804e3b322"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__usb__v5__0.html#gaf1806727cc17345c2b9a900804e3b322">XUsb_ReadErrorCounters</a> (<a class="el" href="struct_x_usb.html">XUsb</a> *InstancePtr, u8 *BitStuffErrors, u8 *PidErrors, u8 *CrcErrors)</td></tr>
<tr class="memdesc:gaf1806727cc17345c2b9a900804e3b322"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function reads the USB error counter regsiter and returns the error counters information.  <a href="group__usb__v5__0.html#gaf1806727cc17345c2b9a900804e3b322">More...</a><br /></td></tr>
<tr class="separator:gaf1806727cc17345c2b9a900804e3b322"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga9d1522d41344290899ebbf1a40824697"><td class="memItemLeft" align="right" valign="top">u8&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__usb__v5__0.html#ga9d1522d41344290899ebbf1a40824697">XUsb_UlpiPhyReadRegister</a> (<a class="el" href="struct_x_usb.html">XUsb</a> *InstancePtr, u8 RegAddr)</td></tr>
<tr class="memdesc:ga9d1522d41344290899ebbf1a40824697"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function initiates the USB ULPI PHY regsiter read transaction.  <a href="group__usb__v5__0.html#ga9d1522d41344290899ebbf1a40824697">More...</a><br /></td></tr>
<tr class="separator:ga9d1522d41344290899ebbf1a40824697"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga5464e6b0871344e088f252872554b7bb"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__usb__v5__0.html#ga5464e6b0871344e088f252872554b7bb">XUsb_UlpiPhyWriteRegister</a> (<a class="el" href="struct_x_usb.html">XUsb</a> *InstancePtr, u8 RegAddr, u8 UlpiPhyRegData)</td></tr>
<tr class="memdesc:ga5464e6b0871344e088f252872554b7bb"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function initiates the USB ULPI PHY regsiter write transaction.  <a href="group__usb__v5__0.html#ga5464e6b0871344e088f252872554b7bb">More...</a><br /></td></tr>
<tr class="separator:ga5464e6b0871344e088f252872554b7bb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga59efbc6f5496ad21e48659c5a7090425"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__usb__v5__0.html#ga59efbc6f5496ad21e48659c5a7090425">XUsb_SieReset</a> (<a class="el" href="struct_x_usb.html">XUsb</a> *InstancePtr)</td></tr>
<tr class="memdesc:ga59efbc6f5496ad21e48659c5a7090425"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function resets the Serial Interface Engine.  <a href="group__usb__v5__0.html#ga59efbc6f5496ad21e48659c5a7090425">More...</a><br /></td></tr>
<tr class="separator:ga59efbc6f5496ad21e48659c5a7090425"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gadc3661c9581f9dea4b01873cbaff31a8"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__usb__v5__0.html#gadc3661c9581f9dea4b01873cbaff31a8">XUsb_EpEnable</a> (const <a class="el" href="struct_x_usb.html">XUsb</a> *InstancePtr, u8 EpNum)</td></tr>
<tr class="memdesc:gadc3661c9581f9dea4b01873cbaff31a8"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function enables the specified endpoint for all operations.  <a href="group__usb__v5__0.html#gadc3661c9581f9dea4b01873cbaff31a8">More...</a><br /></td></tr>
<tr class="separator:gadc3661c9581f9dea4b01873cbaff31a8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga82e240bb1af0cc302cd2c8b7363161d8"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__usb__v5__0.html#ga82e240bb1af0cc302cd2c8b7363161d8">XUsb_EpDisable</a> (const <a class="el" href="struct_x_usb.html">XUsb</a> *InstancePtr, u8 EpNum)</td></tr>
<tr class="memdesc:ga82e240bb1af0cc302cd2c8b7363161d8"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function disables the specified endpoint for all operations.  <a href="group__usb__v5__0.html#ga82e240bb1af0cc302cd2c8b7363161d8">More...</a><br /></td></tr>
<tr class="separator:ga82e240bb1af0cc302cd2c8b7363161d8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga265f540fba1a12b0e310052d4cfa5a2d"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__usb__v5__0.html#ga265f540fba1a12b0e310052d4cfa5a2d">XUsb_EpConfigure</a> (<a class="el" href="struct_x_usb.html">XUsb</a> *InstancePtr, u8 EpNum, <a class="el" href="struct_x_usb___ep_config.html">XUsb_EpConfig</a> *EpCfgPtr)</td></tr>
<tr class="memdesc:ga265f540fba1a12b0e310052d4cfa5a2d"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function configures a specific end point with the given configuration data.  <a href="group__usb__v5__0.html#ga265f540fba1a12b0e310052d4cfa5a2d">More...</a><br /></td></tr>
<tr class="separator:ga265f540fba1a12b0e310052d4cfa5a2d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gabf09f948bc604c279cb0a12bba14057b"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__usb__v5__0.html#gabf09f948bc604c279cb0a12bba14057b">XUsb_EpDataSend</a> (<a class="el" href="struct_x_usb.html">XUsb</a> *InstancePtr, u8 EpNum, u8 *BufferPtr, u32 BufferLen)</td></tr>
<tr class="memdesc:gabf09f948bc604c279cb0a12bba14057b"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function copies the transmit data to the end point buffer and enables the buffer for transmission.  <a href="group__usb__v5__0.html#gabf09f948bc604c279cb0a12bba14057b">More...</a><br /></td></tr>
<tr class="separator:gabf09f948bc604c279cb0a12bba14057b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga143b99da38f8de7e4d0f5cee108fc797"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__usb__v5__0.html#ga143b99da38f8de7e4d0f5cee108fc797">XUsb_EpDataRecv</a> (<a class="el" href="struct_x_usb.html">XUsb</a> *InstancePtr, u8 EpNum, u8 *BufferPtr, u32 BufferLen)</td></tr>
<tr class="memdesc:ga143b99da38f8de7e4d0f5cee108fc797"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function copies the received data from end point buffer to the buffer passed and then makes the device ready for receiving data again into the same end point buffer.  <a href="group__usb__v5__0.html#ga143b99da38f8de7e4d0f5cee108fc797">More...</a><br /></td></tr>
<tr class="separator:ga143b99da38f8de7e4d0f5cee108fc797"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gab38009aad2e0011e0bd392f064edeec7"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__usb__v5__0.html#gab38009aad2e0011e0bd392f064edeec7">XUsb_EpStall</a> (const <a class="el" href="struct_x_usb.html">XUsb</a> *InstancePtr, u8 EpNum)</td></tr>
<tr class="memdesc:gab38009aad2e0011e0bd392f064edeec7"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function stalls operations for the specified endpoint.  <a href="group__usb__v5__0.html#gab38009aad2e0011e0bd392f064edeec7">More...</a><br /></td></tr>
<tr class="separator:gab38009aad2e0011e0bd392f064edeec7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga30a3f5338e5938d9efc1e843c38e9d78"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__usb__v5__0.html#ga30a3f5338e5938d9efc1e843c38e9d78">XUsb_EpUnstall</a> (const <a class="el" href="struct_x_usb.html">XUsb</a> *InstancePtr, u8 EpNum)</td></tr>
<tr class="memdesc:ga30a3f5338e5938d9efc1e843c38e9d78"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function unstalls operations for the specified endpoint.  <a href="group__usb__v5__0.html#ga30a3f5338e5938d9efc1e843c38e9d78">More...</a><br /></td></tr>
<tr class="separator:ga30a3f5338e5938d9efc1e843c38e9d78"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga8af69babadc9c361e05afca4e350b918"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__usb__v5__0.html#ga8af69babadc9c361e05afca4e350b918">XUsb_EpIsoTransferConfigure</a> (<a class="el" href="struct_x_usb.html">XUsb</a> *InstancePtr, u8 EpNum, u8 NoOfTransfers)</td></tr>
<tr class="memdesc:ga8af69babadc9c361e05afca4e350b918"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function sets the number of isochronous transfers in a microframe for a given endpoint.  <a href="group__usb__v5__0.html#ga8af69babadc9c361e05afca4e350b918">More...</a><br /></td></tr>
<tr class="separator:ga8af69babadc9c361e05afca4e350b918"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gafcd3e91e72783087a0c6902724b8087f"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__usb__v5__0.html#gafcd3e91e72783087a0c6902724b8087f">XUsb_IntrEnable</a> (<a class="el" href="struct_x_usb.html">XUsb</a> *InstancePtr, u32 Mask)</td></tr>
<tr class="memdesc:gafcd3e91e72783087a0c6902724b8087f"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function enables the specified interrupts.  <a href="group__usb__v5__0.html#gafcd3e91e72783087a0c6902724b8087f">More...</a><br /></td></tr>
<tr class="separator:gafcd3e91e72783087a0c6902724b8087f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga6a9e88138c012fcfa32717eeaab1e5b1"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__usb__v5__0.html#ga6a9e88138c012fcfa32717eeaab1e5b1">XUsb_IntrDisable</a> (<a class="el" href="struct_x_usb.html">XUsb</a> *InstancePtr, u32 Mask)</td></tr>
<tr class="memdesc:ga6a9e88138c012fcfa32717eeaab1e5b1"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function disables the specified interrupts.  <a href="group__usb__v5__0.html#ga6a9e88138c012fcfa32717eeaab1e5b1">More...</a><br /></td></tr>
<tr class="separator:ga6a9e88138c012fcfa32717eeaab1e5b1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gacc119aa9f628ab0cc3fac2f63073e386"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__usb__v5__0.html#gacc119aa9f628ab0cc3fac2f63073e386">XUsb_IntrHandler</a> (void *InstancePtr)</td></tr>
<tr class="memdesc:gacc119aa9f628ab0cc3fac2f63073e386"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function is the interrupt handler for the USB driver.  <a href="group__usb__v5__0.html#gacc119aa9f628ab0cc3fac2f63073e386">More...</a><br /></td></tr>
<tr class="separator:gacc119aa9f628ab0cc3fac2f63073e386"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gada7caf770f82936ab7493b67d143b9a9"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__usb__v5__0.html#gada7caf770f82936ab7493b67d143b9a9">XUsb_IntrSetHandler</a> (<a class="el" href="struct_x_usb.html">XUsb</a> *InstancePtr, void *CallBackFunc, void *CallBackRef)</td></tr>
<tr class="memdesc:gada7caf770f82936ab7493b67d143b9a9"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function installs an asynchronous callback function for the general interrupt (interrupts other than the endpoint and error interrupts).  <a href="group__usb__v5__0.html#gada7caf770f82936ab7493b67d143b9a9">More...</a><br /></td></tr>
<tr class="separator:gada7caf770f82936ab7493b67d143b9a9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gae7fef0669e6d6094cc2af067195cc04d"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__usb__v5__0.html#gae7fef0669e6d6094cc2af067195cc04d">XUsb_EpSetHandler</a> (<a class="el" href="struct_x_usb.html">XUsb</a> *InstancePtr, u8 EpNum, <a class="el" href="group__usb__v5__0.html#ga5ce5cb0de7ea4056c829fc15736a6684">XUsb_EpHandlerFunc</a> *CallBackFunc, void *CallBackRef)</td></tr>
<tr class="memdesc:gae7fef0669e6d6094cc2af067195cc04d"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function sets the handler for endpoint events.  <a href="group__usb__v5__0.html#gae7fef0669e6d6094cc2af067195cc04d">More...</a><br /></td></tr>
<tr class="separator:gae7fef0669e6d6094cc2af067195cc04d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaa2a8bba76c93470302e179d7c4d864ac"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__usb__v5__0.html#gaa2a8bba76c93470302e179d7c4d864ac">XUsb_ErrIntrSetHandler</a> (<a class="el" href="struct_x_usb.html">XUsb</a> *InstancePtr, void *CallBackFunc, void *CallBackRef)</td></tr>
<tr class="memdesc:gaa2a8bba76c93470302e179d7c4d864ac"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function installs an asynchronous callback function for the error events.  <a href="group__usb__v5__0.html#gaa2a8bba76c93470302e179d7c4d864ac">More...</a><br /></td></tr>
<tr class="separator:gaa2a8bba76c93470302e179d7c4d864ac"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga6fbf5a1ddbca576e8c1e7d235da878ab"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__usb__v5__0.html#ga6fbf5a1ddbca576e8c1e7d235da878ab">XUsb_DmaIntrSetHandler</a> (<a class="el" href="struct_x_usb.html">XUsb</a> *InstancePtr, void *CallBackFunc, void *CallBackRef)</td></tr>
<tr class="memdesc:ga6fbf5a1ddbca576e8c1e7d235da878ab"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function installs an asynchronous callback function for the DMA events.  <a href="group__usb__v5__0.html#ga6fbf5a1ddbca576e8c1e7d235da878ab">More...</a><br /></td></tr>
<tr class="separator:ga6fbf5a1ddbca576e8c1e7d235da878ab"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga0573097a6ec999bac0f865dc18113df3"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__usb__v5__0.html#ga0573097a6ec999bac0f865dc18113df3">XUsb_UlpiIntrSetHandler</a> (<a class="el" href="struct_x_usb.html">XUsb</a> *InstancePtr, void *CallBackFunc, void *CallBackRef)</td></tr>
<tr class="memdesc:ga0573097a6ec999bac0f865dc18113df3"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function installs an asynchronous callback function for the ULPI PHY events.  <a href="group__usb__v5__0.html#ga0573097a6ec999bac0f865dc18113df3">More...</a><br /></td></tr>
<tr class="separator:ga0573097a6ec999bac0f865dc18113df3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga833556c2bbb9beb055873006fea7b2ed"><td class="memItemLeft" align="right" valign="top"><a class="el" href="struct_x_usb___config.html">XUsb_Config</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__usb__v5__0.html#ga833556c2bbb9beb055873006fea7b2ed">XUsb_LookupConfig</a> (u16 DeviceId)</td></tr>
<tr class="memdesc:ga833556c2bbb9beb055873006fea7b2ed"><td class="mdescLeft">&#160;</td><td class="mdescRight">Looks up the device configuration based on the unique device ID.  <a href="group__usb__v5__0.html#ga833556c2bbb9beb055873006fea7b2ed">More...</a><br /></td></tr>
<tr class="separator:ga833556c2bbb9beb055873006fea7b2ed"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
</div><!-- contents -->
</div><!-- doc-content -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="footer">Copyright &copy; 2015 Xilinx Inc. All rights reserved.</li>
  </ul>
</div>
</body>
</html>
